jQuery(document).ready(function() {

window.send_to_editor = function(html) {
 imgurl = jQuery('img',html).attr('src');
 jQuery('#slide1').val(imgurl);
 tb_remove();
}

});
